package day7.Exer;

import java.util.Scanner;

public class Cattest {
    public static void main(String[] args) {
        Cat a=new Cat("Tom",50,1.4);
        Mouse b=new Mouse("Jerry",50);
        System.out.println(a.getName()+"去抓"+b.getName()+"抓住没有？yes/no");
        Scanner in =new Scanner(System.in);
        String chosen =in.next();
        a.Catch(b,chosen);
    }
}
